package com.fengxing.ams.web.facade.mouble.company;

import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import com.fengxing.ams.web.facade.mouble.student.StudentSCMVO;

@Entity
@Table(name = "zyt_enployment")
@JsonIgnoreProperties(ignoreUnknown = true)
public class CompanyVO implements java.io.Serializable {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	private Integer studentCollege;
	private String name;
	private String location;
	private String orgCode;
	private String type;
	private String zipCode;
	private String department;
	private String telephone;
	private String linkman;
	private String industry;
	private String address;
	private String title;
	private String receiveRecord;
	private String receiveResidence;
	private String signCompany;
	private String signCompanyAddress;
	private String recordSendAddress;
	private Date createdDate;
	private Integer status;
	private String remark;
	
	@OneToOne(fetch=FetchType.EAGER, cascade={CascadeType.REFRESH})
	@JoinColumn(name = "studentId", nullable = false)
	private StudentSCMVO student;
	
	public StudentSCMVO getStudent() {
		return student;
	}
	public void setStudent(StudentSCMVO student) {
		this.student = student;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getStudentCollege() {
		return studentCollege;
	}
	public void setStudentCollege(Integer studentCollege) {
		this.studentCollege = studentCollege;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getOrgCode() {
		return orgCode;
	}
	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getZipCode() {
		return zipCode;
	}
	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getLinkman() {
		return linkman;
	}
	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}
	public String getIndustry() {
		return industry;
	}
	public void setIndustry(String industry) {
		this.industry = industry;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getReceiveRecord() {
		return receiveRecord;
	}
	public void setReceiveRecord(String receiveRecord) {
		this.receiveRecord = receiveRecord;
	}
	public String getReceiveResidence() {
		return receiveResidence;
	}
	public void setReceiveResidence(String receiveResidence) {
		this.receiveResidence = receiveResidence;
	}
	public String getSignCompany() {
		return signCompany;
	}
	public void setSignCompany(String signCompany) {
		this.signCompany = signCompany;
	}
	public String getSignCompanyAddress() {
		return signCompanyAddress;
	}
	public void setSignCompanyAddress(String signCompanyAddress) {
		this.signCompanyAddress = signCompanyAddress;
	}
	public String getRecordSendAddress() {
		return recordSendAddress;
	}
	public void setRecordSendAddress(String recordSendAddress) {
		this.recordSendAddress = recordSendAddress;
	}
	public Date getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
}
